-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix docker inspect network go template for network which doesn't have MTU #10053
Conversation
Hi @azhao155. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
fix #10033 |
Can one of the admins verify this patch? |
/ok-to-test |
kvm2 Driver |
/retest-this-please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about adding a unit test for this func ?
maybe we can have a a "mockDocker" driver
with an optinal mock parameter passed, if it is mock
then we can have a unit test for a series of examples of response...
we can also have a Specific Error Type to return if the user's docker has issue and user needs to upgrade docker so the idea is we add a check later, if user is using a problamatic docker version, we will return a speccific error type to the exit. so we can give them a good solution message. example of errror types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kvm2 Driver Times for Minikube (PR 10053): 60.1s 59.1s 58.0s Averages Time Per Log
docker Driver Times for Minikube (PR 10053): 23.5s 23.3s 23.5s Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 10053): 58.0s 59.8s 57.9s Averages Time Per Log
docker Driver Times for Minikube (PR 10053): 23.7s 23.1s 22.6s Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 10053): 59.9s 58.9s 60.9s Averages Time Per Log
docker Driver Times for Minikube (PR 10053): 24.0s 24.4s 24.9s Averages Time Per Log
|
thank you for fixing this and adding unit tests for it too |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: azhao155, medyagh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
First create network without MTU
Create network with MTU
So this go template will work in both scenarios.